#ifndef QPWM_H
#define QPWM_H

#include "QBSP_S.h"

#define QPWM1 GPIO_PIN_7 // GPIOC7
#define QPWM2 GPIO_PIN_8 // GPIOC8
#define QPWM3 GPIO_PIN_9 // GPIOC9
#define QPWM4 GPIO_PIN_8 // GPIOA8
#define QPWM5 GPIO_PIN_9 // GPIOA9

void QPWM_gpio_conf(void);
void QPWM_set(uint8_t PWMn, uint16_t Hz, uint8_t cycle1, uint8_t cycle2, uint8_t cycle3);
void QPWM_ENABLE(uint8_t PWMn);
void QPWM_DISABLE(uint8_t PWMn);

#endif